//@author A0096794H
//This class is the storage component of the project
//It saves and loads all the tasks of the program in a single text file,kwsave.txt
//If any errors are found, it will throw the exception to the keyboard warrior class.
#ifndef _FILEPROCESSING_H_
#define _FILEPROCESSING_H_

#include <string>
#include <fstream>
#include "TaskList.h"
#include "constants.h"
//#include "Storage.h"
using namespace std;

class FileProcessing{
public:
	static void saveFile();
	static void loadFile();
	static void splitString(std::string, vector<std::string> &);
	static bool splitDate(string,vector<int>&);
	static bool splitTime(string,vector<int>&);
};

#endif;